﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using JieBooLaw.Common.Web;
using JieBooLaw.Common.Constant;
using JieBooLaw.Domain;

namespace JieBooLaw.WebAdmin
{
    public partial class Main : BaseWebPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                TSys_User user = Session[StringConstant.LoginUserInfo] as TSys_User;
                this.Logged.Text = user.Account;
                this.txtLastLoginTime.Text = user.LastLoginTime.Value.ToString("MM/dd/yyyy hh:mm:ss");
            }
        }

        protected void btnSignout_Click(object sender, EventArgs e)
        {
            this.Redirect("Logout.aspx");
        }
    }
}
